
<%include("/common/list-top.html",{title:"货物相关报表",css:[ctxPath+"/css/zjcss.css"]}){} %>

<div class="container-fluid">
    <div class="page-head-nav">
        <div class="row">
            <div class="col-xs-10">
                <ol class="breadcrumb">
                    <li><a href="${ctxPath}/workbench"><i class="icon icon-home"></i>工作台</a> </li>
                    <li>报表管理</li>
					<li><a href="${ctxPath}/report/material">货物相关信息报表</a></li>
                </ol>
            </div>
        </div>
    </div>
        <section class="row report_material">
			<ul class="nav nav-tabs">
			  <li class="active"><a href="javascript:void(0);" data-target="#move" data-toggle="tab">货物移动信息追踪</a></li>
			  <li><a href="javascript:void(0);" data-target="#rule" data-toggle="tab">货物打尺信息详情</a></li>
			</ul>
			<div class="tab-content">
			  <div class="tab-pane fade active in" id="move">
			    <div class="row listui" id="moveUI" >
			        <div class="query row">
			        	<div class="col-xs-12">
							<div class="col-xs-1">
								<label for="materiel_code">物料编码</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="materiel_code"
									placeholder="物料编码">
							</div>
							<div class="col-xs-1">
								<label for="materiel_name">物料名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="materiel_name"
									placeholder="物料名称">
							</div>
							<div class="col-xs-1">
								<label for="project_name">项目名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="project_name"
									placeholder="项目名称">
							</div>
							<div class="col-xs-1">
								<label for="plan_code">计划编码</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="plan_code"
									placeholder="计划编码">
							</div>
							
						</div>
						<div class="col-xs-12">
							<div class="col-xs-1">
								<label for="container_name">容器名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="container_name"
									placeholder="容器名称">
							</div>
							<div class="col-xs-1">
								<label for="address_name">地点名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="address_name"
									placeholder="地点名称">
							</div>
							<div class="col-xs-1">
								<label for="user_name">业务人员</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="user_name"
									placeholder="操作人">
							</div>
							<div class="col-xs-3 " >
							    <button  class="btn"   style="margin: 5px" id="move_reset"> 重置 </button>
								<button type="submit" class="btn btn-primary btn-query" style="margin: 5px" id="move_search">
									<i class="icon-search"></i> 搜索
								</button>
								 <button class="btn btn-success" id="move_report_export" ><i class="icon icon-file-excel"></i> 本页报表导出</button>
							</div>
						</div>
			        </div>
					<div class="col-xs-12 ">
						<#listTable url="${ctxPath}/report/material" 
							fields="materiel_code,物料编码,sort,query|materiel_name,物料名称,no-sort,query|materiel_length,长(cm),no-sort,no-query|materiel_width,宽(cm),no-sort,no-query|materiel_height,高(cm),no-sort,no-query|materiel_volume,体积(m³),no-sort,no-query|materiel_empty_weight,净重(kg),no-sort,no-query|project_name,所属项目名称,no-sort,query|plan_code,所属计划编码,no-sort,query|packing_list_code,所属箱单编码,no-sort,no-query|container_name,所在容器名称,no-sort,query|address_name,所在地点,no-sort,query|biz_type,近期业务,no-sort,query|user_name,业务人员,no-sort,query|operation_date,业务时间,no-sort,no-query" />
					</div>
				</div>
			  </div>
			  <div class="tab-pane fade" id="rule">
	            <div class="row listui" id="ruleUI">
	            <div class="query row">
	             <div class="col-xs-12 ">
							<div class="col-xs-1">
								<label for="resource_code">物料编码</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="resource_code"
									placeholder="物料名称">
							</div>
							<div class="col-xs-1">
								<label for="resource_name">物料名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="resource_name"
									placeholder="物料名称">
							</div>
							<div class="col-xs-1">
								<label for="position_name">位置名称</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="position_name"
									placeholder="位置名称">
							</div>
							<div class="col-xs-1">
								<label for="description">描述/备注</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="description"
									placeholder="位置名称">
							</div>
					</div>	   
					 <div class="col-xs-12 ">
							<div class="col-xs-1">
								<label for="is_exception">是否异常</label>
							</div>
							<div class="col-xs-2">
								<select class="form-control" id="is_exception">
								<option selected = "selected" value="">请选择</option>
								<option value="1">异常</option>
								<option value="0">正常</option>
								</select>
							</div>
							<div class="col-xs-1">
								<label for="operator">打尺人员</label>
							</div>
							<div class="col-xs-2">
								<input type="text" class="form-control" id="operator"
									placeholder="打尺人员">
							</div>
							<!--涨尺预留-->
							<div class="col-xs-1">
								<!-- <label for="bh">变化</label> -->
							</div>
							<div class="col-xs-2">
								<!-- <input type="text" class="form-control" id="bh"
									placeholder="变化"> -->
							</div>
							<div class="col-xs-3 ">
							    <button class="btn" style="margin: 5px" id="rule_reset"> 重置 </button>
								<button type="submit" class="btn btn-primary btn-query" style="margin: 5px" id="rule_search">
									<i class="icon-search"></i> 搜索
								</button>
								 <button class="btn btn-success" id="rule_report_export" ><i class="icon icon-file-excel"></i> 本页报表导出</button>
							</div>
						</div>	          
	               </div>
		            <div class="col-xs-12 ">
							<#listTable url="${ctxPath}/report/rule" 
								fields="resource_code,物料编码,sort,query|resource_name,物料名称,no-sort,query|length,打尺长(cm),no-sort,no-query|width,打尺宽(cm),no-sort,no-query|height,打尺高(cm),no-sort,no-query|volume,预估体积(m³),no-sort,no-query|weight,打尺净重(kg),no-sort,no-query|position_name,打尺位置,no-sort,query|is_exception,是否异常,no-sort,query|description,描述/备注,no-sort,query|operator,打尺人员,no-sort,query|rule_date,打尺时间,no-sort,no-query" />
					</div>
				</div>
			  </div>
			</div>
          </section>
          
	<div class="modal fade" id="photo_Modal">
	  <div class="modal-dialog modal-fullscreen">
	    <div class="modal-content" >
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal"><span  aria-hidden="true">×</span><span class="sr-only">关闭</span></button>
	        <h4 class="modal-title">图片</h4>
	      </div>
	      <div class="modal-body" id="photos_show">
	      
	      </div>
	  </div>
	</div>
	</div>
</div>
<%include("/common/list-bottom.html",{js:[ctxPath+"/layer/layer.js",ctxPath + "/js/reportForm/materialMove.js"]}){} %>
